package com.oto.web.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "flow")
public class XmlFlow {

	@XmlAttribute
	protected long id;
	@XmlAttribute
	protected String name;
	@XmlAttribute
	protected String type;
	@XmlAttribute
	protected String content;

	public String getContent() {
		return content;
	}

	public long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getType() {
		return type;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public void setId(long id) {
		this.id = id;
	}

	public void setName(String value) {
		this.name = value;
	}

	public void setType(String value) {
		this.type = value;
	}

	@Override
	public String toString() {
		return "XmlFlow [id=" + id + ", name=" + name + ", type=" + type + ", content=" + content + "]";
	}
}
